# Contributor: Grigory Kirillov <txgk@bk.ru>
# Maintainer: Grigory Kirillov <txgk@bk.ru>
pkgname=cimg
pkgver=3.1.4
pkgrel=0
pkgdesc="Small C++ toolkit for image processing"
url="http://cimg.eu"
arch="noarch"
license="CECILL-C OR CECILL-2.0"
options="!check" # no test suite
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/dtschump/CImg/archive/v.$pkgver/CImg-v.$pkgver.tar.gz"
builddir="$srcdir/CImg-v.$pkgver"

package() {
	install -Dm644 CImg.h -t "$pkgdir"/usr/include/
	install -Dm644 plugins/*.h -t "$pkgdir"/usr/include/CImg/plugins/
	install -Dm644 Licence_* -t "$pkgdir"/usr/share/licenses/"$pkgname"/
}

sha512sums="
4a77e089a6816ffee908ac4433234e61d3736fac5405b18d88a454d3b2f2eb04ec00aad36e24aa2638ceff24c748c0c518e456c9a89cf0904ebd807cf9c6e1b5  CImg-v.3.1.4.tar.gz
"
